<#include "/macro_.ftl">
package ${packageCode}.${moduleMapperCode}.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import ${packageCode}.${moduleMapperCode}.dto.${businessCode}Dto;
import ${packageCode}.${moduleMapperCode}.entity.${businessCode};
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.Map;

/**
 * ${moduleName}-${businessName}
 *
 * @author yao hai tao
 */
@Mapper
public interface ${businessCode}Mapper extends BaseMapper<${businessCode}> {
    /**
     * 翻页查询
     *
     * @param page 翻页对象
     */
    IPage<${businessCode}Dto> pageByParam(IPage<${businessCode}Dto> page, @Param("param") Map<String, Object> param);
}